package com.teoresi.sb.action.struttura.clienti;

import java.util.List;

import org.apache.log4j.Logger;

import com.opensymphony.xwork2.ActionSupport;
import com.teoresi.sb.action.menu.AbstractMenuAction;
import com.teoresi.sb.bean.domain.ClienteBean;

public abstract class AbstractClientiAction extends ActionSupport {

	private static final long serialVersionUID = -476488129380116548L;

	protected Logger logger = Logger.getLogger(AbstractMenuAction.class);
	
	private String query;
	private long idSelezioneAutocomplete;
	private ClienteBean cliente;
	
	private List<ClienteJSON> listaClienti;
	
	public List<ClienteJSON> getListaClienti() {
		return listaClienti;
	}

	public void setListaClienti(List<ClienteJSON> listaClienti) {
		this.listaClienti = listaClienti;
	}

	public void setQuery(String query) {
		this.query = query;
	}

	public String getQuery() {
		return query;
	}

	public void setIdSelezioneAutocomplete(long idSelezioneAutocomplete) {
		this.idSelezioneAutocomplete = idSelezioneAutocomplete;
	}

	public long getIdSelezioneAutocomplete() {
		return idSelezioneAutocomplete;
	}

	public void setCliente(ClienteBean cliente) {
		this.cliente = cliente;
	}

	public ClienteBean getCliente() {
		return cliente;
	}

}
